<html>
<pre>
	<script src="jquery-1.6.2-min.js"> </script>
	<script type="text/javascript" src="cors.js"></script>
	<script type="text/javascript">
		function crossGet(url) {
		    getCORS(url, null, function(data) { alert(data); });
		}
		
		function crossPost(url, params) {
		    postCORS(url, params, function(data) { alert(data); });
		}

		crossPost("http://wing.comp.nus.edu.sg/~huydhn/sciverse/upload.cgi", { 'content': 'nyya' });
	</script>
</pre>
<body>
<h1>CORS Examples</h1>

</body>
</html>
